package com.svs;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;

/**
 * 启动程序
 *
 * @author dujianqiao
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, SecurityAutoConfiguration.class})
@MapperScan("com.svs.*.mapper")
public class SystemMainApplication {
    public static void main(String[] args) {
        SpringApplication.run(SystemMainApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                "  _____  _   _ _____    \n" +
                " /  ___|| | | /  ___|   \n" +
                " \\ `--. | | | \\ `--.    \n" +
                "  `--. \\| | | |`--. \\   \n" +
                " /\\__/ /\\ \\_/ /\\__/ /   \n" +
                " \\____/  \\___/\\____/    \n" +
                "    ");
    }
}
